package com.example.jianbing;

/**
 * @ClassName : SubClass
 * @Description :
 * @Author : JB
 * @Date: 2021-01-23 14:39
 */


public class SubClass extends ParentClass {
    private int x = 5;
    @Override
    public int getX() {
        return x;
    }

    public static void main(String[] args) {
        SubClass subClass = new SubClass();
        System.out.println(subClass.getX()+","+subClass.getX2());
    }
}
